package string;

import javax.xml.ws.wsaddressing.W3CEndpointReference;
import java.util.Locale;

/**
 * 说明:
 *
 * @author: luohaowei
 * @date:2023/2/28
 **/
public class ToUpperCaseDemo {
    public static void main(String[] args) {
        String str="我爱wx";
        String upper=str.toUpperCase();
        System.out.println(upper);
        String lower=str.toLowerCase();
        System.out.println(lower);
    }
}
/*
        String str="我爱wx";
        String upper=str.toUpperCase();
        System.out.println(upper);
        String lower=str.toLowerCase();
        System.out.println(lower);
 */
